# 创建时间：2025/4/28 星期一 20:44
# 创建人：李德才


a = 1
while a <= 10:
    print(a)
    a += 1
    print(a)

for item in "Python":
    print(item)

for i in range(10):
    print(i)

for _ in range(5):  # 忽略循环变量
    print("不需要循环变量")

for item in range(1, 10, 2):
    print(item)
    if item == 5:
        break  # 跳出循环

for item in range(1, 10, 2):
    if item == 5:
        continue  # 跳过循环体
    print(item)
